<%--
  Created by IntelliJ IDEA.
  User: kiss2
  Date: 2025/6/18
  Time: 23:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>管理员控制面板</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }

        .admin-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        header {
            background-color: #2c3e50;
            color: white;
            padding: 1.5rem;
            border-radius: 8px 8px 0 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
        }

        h1 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .welcome-text {
            opacity: 0.8;
            font-size: 1rem;
        }

        .dashboard-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .dashboard-card {
            background-color: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-align: center;
        }

        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .card-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            color: #3498db;
        }

        .card-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #2c3e50;
        }

        .card-description {
            color: #7f8c8d;
            margin-bottom: 1.5rem;
        }

        .card-link {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background-color: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .card-link:hover {
            background-color: #2980b9;
        }

        footer {
            margin-top: 3rem;
            text-align: center;
            padding: 1.5rem;
            color: #7f8c8d;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            .dashboard-cards {
                grid-template-columns: 1fr;
            }

            .admin-container {
                padding: 1rem;
            }
        }
    </style>
</head>
<body>
<div class="admin-container">
    <header>
        <h1>管理员控制面板</h1>
        <p class="welcome-text">欢迎回来，管理员！请选择您要管理的模块</p>
    </header>

    <div class="dashboard-cards">
        <div class="dashboard-card">
            <div class="card-icon">👥</div>
            <h2 class="card-title">用户管理</h2>
            <p class="card-description">查看、编辑和删除系统用户信息</p>
            <a href="http://localhost:8080/LangBridge_war_exploded/user/list" class="card-link">进入用户管理</a>
        </div>

        <div class="dashboard-card">
            <div class="card-icon">🛒</div>
            <h2 class="card-title">商品管理</h2>
            <p class="card-description">管理商品信息、库存和分类</p>
            <a href="http://localhost:8080/LangBridge_war_exploded/goods/list" class="card-link">进入商品管理</a>
        </div>
        <div class="dashboard-card">
            <div class="card-icon">¥</div>
            <h2 class="card-title">商店流水情况</h2>
            <p class="card-description">查看系统每天收益流水情况</p>
            <a href="http://localhost:8080/LangBridge_war_exploded/user/money" class="card-link">进入收益页面</a>
        </div>
    </div>

    <footer>
        <p>© 2025 系统管理后台 | 版本 1.0.0</p>
    </footer>
</div>
</body>
</html>